AppleScript in a Nutshell by AppleScript in a Nutshell
When using the Finder's make command to create new objects, you
have to stick to specific, non-abstract classes such as files and folders.
You cannot "make" a new sharable container or item, for instance. But
you can get a list return value of all items or sharable containers with
the following code phrases: tell app "Finder" to get
sharable containers or get items. See Example 15-1.
For example, a disk has all of the properties of sharable container. Example 15-1 gets
all of the sharable container-related properties of a disk for viewing in the Script Editor's
Event Log (Chapter 2 , describes the Event Log window). But a disk also has its own properties that another sharable container does not have, like such as space (the
number of free bytes left on the disk) and ejectable (a true/false value for whether it can be ejected from the computer).
Example 15-1. A Disk's sharable-container Properties
tell application "Finder"
(* use Event Log to view values *)
set d to disk "HFSA2gig"
d's owner
d's group
d's owner privileges
d's group privileges
d's guest privileges
d's privileges inherited
d's mounted
d's exported
d's shared